<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/login','IndexController@login');
Route::post('/loginForm','IndexController@loginForm');
Route::group(['prefix'=>'admin','middleware'=>'adminGetPower'],function(){
    Route::get('index','IndexController@index');
    Route::get('companySettingsList','IndexController@companySettingsList');
    Route::get('excelExplode','IndexController@excelExplode');
    Route::get('listInfo','IndexController@listInfo');
    Route::get('companySettingsAdd/{id?}','IndexController@companySettingsAdd');
    Route::post('companySettingsSave','IndexController@companySettingsSave');
    Route::post('excelSave','IndexController@excelSave');
    Route::get('getList','IndexController@getList');
    Route::get('listInfo','IndexController@listInfo');
    Route::get('getInfoList','IndexController@getInfoList');
});